<script>
  <%= remote_function_to_reload_project_stages_in_project_index @stage.project,
        :complete => "$('stage_#{@stage.id}').className = 'stage #{@stage.pay_status}_stage';"
   %>
</script>